package com.daka.service.impl;

import com.daka.dao.AdministrativeRegionsMapper;
import com.daka.entity.AdministrativeRegions;
import com.daka.service.AdministrativeRegionsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author beliveli on 2016/3/31 0031.
 */
@Service("administrativeRegionsService")
@SuppressWarnings("unused")
public class AdministrativeRegionsServiceImpl implements AdministrativeRegionsService {

    @Resource
    private AdministrativeRegionsMapper administrativeRegionsMapper;

    public AdministrativeRegions selectById(int id) {
        return administrativeRegionsMapper.selectById(id);
    }

    public List<AdministrativeRegions> selectAll() {
        return administrativeRegionsMapper.selectAll();
    }

    public List<AdministrativeRegions> selectSH() {
        return administrativeRegionsMapper.selectSH();
    }

}
